package com.treasure.service.shareimg.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.treasure.service.annotation.LogInfo;
import com.treasure.service.collocate.service.BannerService;
import com.treasure.service.dto.TBannerDto;
import com.treasure.service.result.ResponseResult;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;

@Api(value = "分享海报管理",description = "分享海报维护")
@RestController
@RequestMapping("/shareimg/v1")
@Slf4j
public class ShareImgController {
    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @ApiOperation(value = "获取分享海报", notes = "获取分享海报")
    @PostMapping("/getShareImg")
    @LogInfo(log = "获取分享海报",isPrint = true)
    public ResponseEntity updateBanner(@RequestBody String shareType){
    	log.info("获取分享海报:shareType="+shareType);
    	
        return ResponseEntity.ok(new ResponseResult());

    }

}
